/*  CMPE131: PERRY AIR RESERVATION SYSTEM
	
	Group 1:  Shane Loretz, Parag Pardeshi, Tom Pham, 
	Bryan Radford, Rohini Thakar
	
	This program is to handle flight reservations for an airline.
*/

#include <iostream>                                      
#include "view.h" 

using namespace std;


int view::mainMenu()
{
	int choice;
	cout << "PERRY AIR RESERVATION SYSTEM"  << endl;
	cout << "	1. Create New Reservation" << endl;
	cout << "	2. View Reservation" << endl;
	cout << "	3. Logoff" << endl;
	cout << "	4. Quit" << endl;
	cout << "Choose One:";
	cin >> choice;
	cout << endl;
	return choice;
}


void view::promptForNameAndDOB(string &first, string &last, string &date)
{
	cout << "First Name: ";
	cin >> first;
	cout << endl;
	cout << "Last Name: ";
	cin >> last;
	cout << endl;
	cout << "Date of Birth: ";
	cin >> date;
	cout << endl;
	cout << endl;
}


void view::promptForFlightDate(string &date)
{
	cout << "Date of Flight: ";
	cin >> date;
	cout << endl;
	cout << endl;
}


int view::promptForFlight(Flight availableFlights[])
{
	int choice;	
	//display availableFlights
	
	cout << "Choose a Flight: ";
	cin >> choice;
	cout << endl;
	cout << endl;
	return choice;
}



